package cn.e2win.base.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "sys_label_set")
public class SysLabelSet extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	public SysLabelSet(){
		super();
	}
	
	
	//主键
	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	private Integer id;
	

	//相关表
	private String entityType;
	//相关类型 如某A表要加多强图片做轮播。relatedTb=a,relatedId=1, relatedType=lunBo。A表通过这三个条件就可以查出来所有相关的图片
	private String labelType;
	//标签内容
	private String label;
	//调整数
	private Integer adjustCnt;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getEntityType() {
		return entityType;
	}
	public void setEntityType(String entityType) {
		this.entityType = entityType;
	}
	public String getLabelType() {
		return labelType;
	}
	public void setLabelType(String labelType) {
		this.labelType = labelType;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public Integer getAdjustCnt() {
		return adjustCnt;
	}
	public void setAdjustCnt(Integer adjustCnt) {
		this.adjustCnt = adjustCnt;
	}
	

}
